package com.ruoyi.monitor.utils.Common;

public class Constant {
    public static String city = "上海";
    public static String areaCode = "shanghai";
    public static final String HOST = "https://ali-pm25.showapi.com";

    public static final String DETAILPATH = "/pm25-detail";
    public static final String RANKPATH = "/pm25-top";
    public static final String GET = "GET";
    public static final String POST = "POST";
    public static final String APPCODE = "4e898cba46ab4e86a9964c890c646e64";

    public static final Integer DAILY = 1;
    public static final Integer WEEKLY = 2;
    public static final Integer MONTHLY = 3;
    public static final Integer YEARLY = 4;
    //API类型
    public static final String POLLUTANT = "pollutant";
    public static final String CITY = "city";

    //空气类型
    public static final Integer EXCELLENT = 1;
    public static final Integer GOOD = 2;
    public static final Integer MILD = 3;
    public static final Integer MODERATE = 4;
    public static final Integer SEVERE = 5;
    public static final Integer WORSTEST = 6;

    //实时类型
    public static final String EXCELLENT_RANGE = "0-50";
    public static final String GOOD_RANGE = "51-100";
    public static final String MILD_RANGE = "101-150";
    public static final String MODERATE_RANGE = "151-200";
    public static final String SEVERE_RANGE = "201-300";
    public static final String WORSTEST_RANGE = "300-500";

    //


}
